<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
  <script type="text/javascript" src="/Admin/includes/checkCategory.js"></script>
<form name="crUser" method="post" action="/adminAction.do?method=saveCategory">
    <table width="670" cellpadding="0" cellspacing="0" border="0" style="padding-top: 50px;padding-left: 30px;">
        <tr>
            <td colspan="3">
                <font style="font-weight: bold;font-size: medium;" color="green">Create Category</font>

            </td>

        </tr>
        <tr>
            <td colspan="3">
                <html:messages id="msg" message="true">
                    <font size="2">
                        ${msg} </font>
                    <br>
                </html:messages>

            </td>

        </tr>
        <tr>
            <td colspan="3">
                &nbsp;

            </td>

        </tr>
        <tr>
            <td>
                Category Name :<font color="red">*</font>
            </td>
            <td><input type="text" id="cName" name="cName" size="30" onchange="checkCategory()"></td>
            <td width="300" id="wait"></td>
        </tr>


        <tr>
            <td colspan="3" align="center"> <input type="submit" name="save" value="Save" onclick="return validateCategory();"></td>
        </tr>
    </table>
</form>
